package com.example.brazil_project.function;

import com.example.brazil_project.DucumentActivity;
import com.example.brazil_project.DucumentDetailActivity;
import com.example.brazil_project.RedactDocumentDetailActivity;
import com.example.brazil_project.parameter.Parameter;
import com.example.brazil_project.util.HttpUtil;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.webkit.WebView;

public class RedectDucumentFunction {
	Activity mContxt;  
	WebView webview;
	 public RedectDucumentFunction(Activity mContxt,Object webview) {  
	        this.mContxt = mContxt;  
	        this.webview = (WebView) webview;
	  }  
	
	 

	 
	
	 /**
	  * 获取传过来的产品ID 。如果为0则是添加页面
	  * @return
	  */
	 public String getProductByID(){
		 Intent intent = mContxt.getIntent();
		 String Product_id =intent.getStringExtra("Product_id");
		return Product_id;
		 
		 
	 }
	 
	
}
